/**
    Switchcase:
    转换到大写字母
 */

import java.util.Scanner;

public class upper {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("Input a char between a -> e:");
        String word = scan.next();
        char c = word.charAt(0);
        switch (c){
            case 'a':
                c = 'A';
                System.out.println(c);
                break;
            case 'b':
                c = 'B';
                System.out.println(c);
                break;
            case 'c':
                c = 'C';
                System.out.println(c);
                break;
            case 'd':
                c = 'D';
                System.out.println(c);
                break;
            case 'e':
                c = 'E';
                System.out.println(c);
                break;
            default:
                System.out.println("other.");
        }
    }
}
